<template>
    <div>
        <button open-type="openSetting">打开授权</button>     
        <button @click="record">我要录音</button>  
    </div>
</template>

<script>
export default {
    
    methods: {
        record(){
            wx.startRecord()
        }
    },
}
</script>